import { commonTypes } from '@/typings/commonTypes';

// eslint-disable-next-line @typescript-eslint/no-namespace
export declare namespace IgetDetailByNoticeSerialNo {
  export interface DocAdmiNote {
    patHospitalVisitId: string;
    patientClass: string;
    admissionDeptName: string;
    admMoney: string;
    patSex: string;
    patName: string;
    diagDesc: string;
    dateOfBirth: string;
    admissionWay: string;
    patAdmCondition: string;
    patHospitalId: string;
    noticeSerialNo: string;
    wardName: string;
    admissionNum: string;
    patIdNo: string;
  }

  export interface NurseAdmiNote {
    lastConfirmTime: string;
    bedNo: string;
    handleInHospitalTime: string;
  }

  export interface PatAdmiNote {
    birthday: string;
    registerCity: string;
    bloodPressure?: any;
    nation: commonTypes.ICodeName;
    idCardNo: string;
    registerCounty: string;
    phoneNo: string;
    operator: string;
    relation: commonTypes.ICodeName;
    contactAddressProv: string;
    times?: any;
    patSource: commonTypes.ICodeName;
    registerStreet: string;
    marriage: commonTypes.ICodeName;
    contactAddressCity: string;
    identity: commonTypes.ICodeName;
    registerProv: string;
    contactAddress: string;
    residence: commonTypes.ICodeName;
    height?: any;
    profession: commonTypes.ICodeName;
    residenceStreet: string;
    patientName: string;
    checkedFlag: string;
    contactName: string;
    sex: commonTypes.ICodeName;
    weight?: any;
    birthCity: commonTypes.ICodeName;
    contactAddressStreet: string;
    workAddress: string;
    noticeSerialNo: string;
    birthProv: commonTypes.ICodeName;
    residencePhone: string;
    nationality: commonTypes.ICodeName;
    birthCounty: commonTypes.ICodeName;
    animalHeat?: any;
    contactAddressCounty: string;
    pulse?: any;
    nativePlace: commonTypes.ICodeName;
    workZipCode: string;
    residenceZip: string;
    contactPhone: string;
    register: string;
  }

  export interface BusObj {
    [x: string]: {};
    docAdmiNote: DocAdmiNote | null;
    nurseAdmiNote: NurseAdmiNote | null;
    patAdmiNote: PatAdmiNote | null;
  }

  export interface IRootObject {
    isConfirm?: any;
    tips?: any;
    busObj: BusObj | null;
  }
}
